
/**
 * 交易（自己物资送达对方）
 */
export class reportInfo_SendRes
{
    wood:number
    mud:number
    iron:number
    food:number
    
    constructor(rp)
    {
        this.wood = 0; 
        this.mud = 0; 
        this.iron = 0; 
        this.food = 0;

        let pList = rp.rParam.trim().split(',');
        if (pList.length == 4) {
            this.wood = parseInt(pList[0]);
            this.mud = parseInt(pList[1]);
            this.iron = parseInt(pList[2]);
            this.food = parseInt(pList[3]);
        }
    }
}
